Optimal. Leaf size=32 \[ \frac{d \log (a+b x)}{b^2}-\frac{b c-a d}{b^2 (a+b x)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0463047, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{d \log (a+b x)}{b^2}-\frac{b c-a d}{b^2 (a+b x)} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x)/(a + b*x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 8.04372, size = 26, normalized size = 0.81 \[ \frac{d \log{\left (a + b x \right )}}{b^{2}} + \frac{a d - b c}{b^{2} \left (a + b x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x+c)/(b*x+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0167105, size = 31, normalized size = 0.97 \[ \frac{a d-b c}{b^2 (a+b x)}+\frac{d \log (a+b x)}{b^2} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x)/(a + b*x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 39, normalized size = 1.2 \[{\frac{d\ln \left ( bx+a \right ) }{{b}^{2}}}+{\frac{ad}{ \left ( bx+a \right ){b}^{2}}}-{\frac{c}{ \left ( bx+a \right ) b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x+c)/(b*x+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.38737, size = 47, normalized size = 1.47 \[ -\frac{b c - a d}{b^{3} x + a b^{2}} + \frac{d \log \left (b x + a\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)/(b*x + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.195961, size = 53, normalized size = 1.66 \[ -\frac{b c - a d -{\left (b d x + a d\right )} \log \left (b x + a\right )}{b^{3} x + a b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)/(b*x + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.30461, size = 27, normalized size = 0.84 \[ \frac{a d - b c}{a b^{2} + b^{3} x} + \frac{d \log{\left (a + b x \right )}}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x+c)/(b*x+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.218068, size = 77, normalized size = 2.41 \[ -\frac{d{\left (\frac{{\rm ln}\left (\frac{{\left | b x + a \right |}}{{\left (b x + a\right )}^{2}{\left | b \right |}}\right )}{b} - \frac{a}{{\left (b x + a\right )} b}\right )}}{b} - \frac{c}{{\left (b x + a\right )} b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)/(b*x + a)^2,x, algorithm="giac")
[Out]